package user;

import book.BookList;
import operation.Operation;

public abstract class User {
    protected String name;
    protected Operation[] operations;

    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
    public void mywork(int choice,BookList bookList){
         this.operations[choice].work(bookList);
    }
}
